package cn.appscomm.message.feign.clients;

import cn.appscomm.message.feign.hystrix.UserRemoteHystrix;
import cn.appscomm.message.inout.LoginRequestVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "user", fallback = UserRemoteHystrix.class)
public interface UserRemote {
    @RequestMapping(value = "user/v1/login")
    String login(@RequestBody LoginRequestVO loginRequestVO);
}
